import {CreateFormElsComponents} from "../render/common.ts"
import {ElRateCustomerEvents, ElRateCustomerExtend, ElRateCustomerProps} from "./index.ts"
import {RateProps, RateEmits} from "element-plus"

type ElRateProps = ElRateCustomerProps & RateProps

type ElRateEvents = ElRateCustomerEvents & RateEmits

type ElRateExtend = ElRateCustomerExtend

export type ElRate<Prop> = CreateFormElsComponents<'el-radio', Prop, ElRateProps, ElRateEvents> & ElRateExtend
